import EventHandle from "@/views/EventHandle"
import Home from '@/views/Home'
import StateHook from "./views/StateHook"
import BallView from "./views/BallView"
import ForceUpdate from "./views/ForceUpdate"
import StateHook2 from "./views/StateHook2"
import Arg from "./views/Arg"
import Counter from "./views/Counter"
export default function App(){
  return (<>
    <h1>函数组件</h1>
    <EventHandle></EventHandle>
    <hr />
    <Home></Home>
    <hr />
    <StateHook></StateHook>
    <hr />
    <BallView></BallView>
    <ForceUpdate></ForceUpdate>
    <hr />
    <StateHook2></StateHook2>
    <hr />
    <Arg></Arg>
    <hr />
    <Counter num={100}></Counter>
    <Counter num={20}></Counter>
  </>)
}